$(function(){
	
	$('#galleria').galleria({
		transition_speed: 1000,
		data_config: function(img) {
			// will extract and return image captions from the source:
			return  {
				title: $(img).parent().next('span').html(),
				description:$(img).parent().next('span').next().html()
			};
		}
	});
	
});